<?php
class Seccode extends Controller {
public function Seccode()
	{
		parent::Controller();
		$this->load->library('phpsession');
	}
	
public function index()
 {
	$this->load->library('ccheckcodefile');
	$this->ccheckcodefile->SetCheckImageWH(50,20);
	$this->ccheckcodefile->OutCheckImage();
	$auth=strtolower($this->ccheckcodefile->GetCheckCode());
	$this->phpsession->save('auth',$auth);
 }
}
?>